package com.recharge.domain.vo;

import com.recharge.common.domain.BaseDO;
import lombok.Data;

import java.util.List;

@Data
public class PermissionDO extends BaseDO {

    /**
     * 权利ID

     */
    private String permissionId;

    /**
     * 权利代码
     */
    private String code;

    /**
     * 权利名
     */
    private String name;

    /**
     * 1.菜单 2.按钮
     */
    private Integer type;

    /**
     * 请求地址
     */
    private String requestUrl;
    /**
     * 页面地址
     */
    private String component;

    /**
     * 图标
     */
    private String icon;

    private String[] roleId;

    private String[] permissionIds;

    private List<PermissionDO> nodes;

    /**
     * 排序
     */
    private Integer sort;
}
